package cn.wk.libs4a.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * 正则规范判断
 */
public class RegUtils {

	
	/**
	 * 正则判断是否是规范的手机号码
	 */
	public static boolean isMobileNO(String mobiles){
		Pattern mPattern = Pattern.compile("13\\d{9}|14[57]\\d{8}|15\\d{9}|17[68]\\d{8}|18\\d{9}");
		Matcher mMatcher = mPattern.matcher(mobiles);
		return mMatcher.matches();
	}
}
